package com.example.warehouse.mapper;

import com.example.warehouse.entity.Unit;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface UnitMapper {
    @Select("SELECT * from unit")
    List<Unit> findAllUnit();

}
